]> dgit.raspbian.org Git - gnome-shell.git/commit
sessionMode: Allow changing the session mode at runtime
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 1 Sep 2012 12:42:53 +0000 (09:42 -0300)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 4 Sep 2012 21:42:44 +0000 (18:42 -0300)
commitca2e09fe8be2409c228bfce60ada160c13819bd3
tree99b0097dccc5f10653033f0c87cdc15aaceafe3b
parent7e343f11f28a736d88619b85c9b9c6ea52a7e142
sessionMode: Allow changing the session mode at runtime

Since we eventually want to add a system for changing the top panel
contents depending on the current state of the shell, let's use the
"session mode" feature for this, and add a mechanism for updating the
session mode at runtime. Add support for every key besides the two
functional keys, and make all the components update automatically when the
session mode is changed. Add a new lock-screen mode, and make the lock
screen change to this when locked.

https://bugzilla.gnome.org/show_bug.cgi?id=683156
19 files changed:
js/ui/calendar.js
js/ui/dateMenu.js
js/ui/extensionSystem.js
js/ui/layout.js
js/ui/main.js
js/ui/overview.js
js/ui/panel.js
js/ui/panelMenu.js
js/ui/popupMenu.js
js/ui/screenShield.js
js/ui/sessionMode.js
js/ui/status/accessibility.js
js/ui/status/bluetooth.js
js/ui/status/keyboard.js
js/ui/status/lockScreenMenu.js
js/ui/status/network.js
js/ui/status/power.js
js/ui/status/volume.js
js/ui/userMenu.js